package entity;

import javax.json.bind.annotation.JsonbProperty;

@SuppressWarnings("unused")
public class user {
    public user() {

    }

    public user(String username, String password, String email, String stu_number, String img) {
        this.username =username ;
        this.password = password;
        this.email = email;
        this.stu_number = stu_number;
        this.img = img;
    }
    @JsonbProperty("username")
    private String username;

    @JsonbProperty("img")
    private String img;

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    @JsonbProperty("password")
    private String password;


    @JsonbProperty("email")
    private String email;

    @JsonbProperty("stu_number")
    private String stu_number;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStu_number() {
        return stu_number;
    }

    public void setStu_number(String stu_number) {
        this.stu_number = stu_number;
    }

    public String getemail() {
        return email;
    }

    public void setemail(String email) {
        this.email = email;
    }
}
